package com.zzt.appframe8;

import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.widget.EditText;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

/**
 * @author: zeting
 * @date: 2022/9/22
 */
public class MyEditText extends androidx.appcompat.widget.AppCompatEditText {
    private static final String TAG = "MTextInputLayout MyET";

    public MyEditText(@NonNull Context context) {
        super(context);
    }

    public MyEditText(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public MyEditText(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }


    @Override
    public void setEnabled(boolean enabled) {
        super.setEnabled(enabled);
        Log.d(TAG, "setEnabled " + enabled);
    }

    @Override
    public void setFocusable(boolean focusable) {
        super.setFocusable(focusable);
        Log.d(TAG, "setFocusable boolean " + focusable);
    }

    @Override
    public void setFocusable(int focusable) {
        super.setFocusable(focusable);
        Log.d(TAG, "setFocusable int " + focusable);
    }

    @Override
    public void setPressed(boolean pressed) {
        super.setPressed(pressed);
        Log.d(TAG, "setPressed " + pressed);
    }


}
